package com.woniuxy.microgoldservice.bean;

import lombok.Data;
import org.apache.commons.collections.BidiMap;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (GoldPurchase)实体类
 *
 * @author makejava
 * @since 2021-04-13 20:12:32
 */
@Data
public class GoldPurchase implements Serializable {
    private static final long serialVersionUID = 326967316148394489L;

    private Long id;
    /**
    * 持有克数
    */
    private BigDecimal grammage;
    /**
    * 手续费
    */
    private Double serverCharge;
    /**
    * 年化率
    */
    private Double arp;
    /**
    * 用户id
    */
    private String userName;
    /**
    * 累积收益
    */
    private BigDecimal earnings;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 修改时间
    */
    private Date modificationTime;
    /**
    * 0删除，1不删除
    */
    private String delete;

    /**
    * 购买金额
    */
    private BigDecimal monetary;

    /**
    *  昨日收益
    */
    private Double yesterDayEarnings;
    /**
     *  产品id
     */
    private Long proId;

}
